import request from '@/utils/request'

// 分页
export function page(data) {
  return request({
    url: '/system/resource/api/page',
    method: 'post',
    data
  })
}

// tree
export function tree(data) {
  return request({
    url: '/system/resource/api/tree',
    method: 'post',
    data
  })
}
